<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <script src="../js/vue.js"></script>
    </head>
    <body>
        <div id="app1">
            {{title}}
        </div>
        <div id="app2">
            {{title}}
        </div>
    </body>
    <script>
        var Vue2 = Vue.extend({                   
            data(){
                return {
                    title:'hello'
                }
            }
        });
        var vm1 = new Vue({                   
            el:'#app1'
        });
        var vm2 = new Vue2({                   
            el:'#app2'
        });
    </script>
</html>